import { NodeTypes } from "@xyflow/react"
import Custom from "./custom-node"
import type { CustomNodeData } from "./custom-node/type"
import type { BuiltInNode, Node } from "@xyflow/react"

export const nodeTypes = {
  custom: Custom
} satisfies NodeTypes

export type CustomNode = Node<CustomNodeData, "custom">

export type AppNode = BuiltInNode | CustomNode
